$Color : #778899;
$bgColor : $Color;
@mixin cmp {
  margin: 0;
  padding: 0;
}
@mixin bggo {
  $bgColor : mix($bgColor,#eee)!global;
  background: $bgColor;
}
body{
  @include cmp;
  background-color: $bgColor;
}
.container{
  min-height: 500px;
  @include bggo;
  >header{
    @include bggo;
    height: 200px;
    overflow: hidden;
  }
  >nav{
    $height : 30px;
    height: $height;
    line-height: $height;
    @include bggo;
    a{
      text-decoration: none;
      margin: 10px;
      color: $Color;
      &:hover{
        color:mix($Color,#333);
        font-weight: bold;
      }
    }
  }
  .content{
    min-height: 300px;
    @include bggo;
    padding: 0 150px 0 150px;
    @mixin mx {
      float: left;
      min-height: 300px;
      @include bggo;
    }
    .main{
      width: 100%;
      @include mx;
    }
    .left{
      width: 150px;
      @include mx;
      margin-left: -100%;
      position: relative;
      left: -150px;
    }
    .right{
      @include mx;
      width: 150px;
      margin-left: -150px;
      position: relative;
      left: 150px;
    }
  }
  >footer{
    height: 50px;
    @include bggo;
  }
}
